<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<h4> 配置域名才能使用</h4>
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('nav/add_post')}">
			<fieldset>
				<div class="control-group">
					<label class="control-label">店铺名称</label>
					<div class="controls">
						<input type="text" name="name" value="{$model.name}"><span class="form-required">*</span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">店铺地址</label>
					<div class="controls">
						<input type="text" class="map_dialog" id="addr"  name="addr" value="{$model.addr}"><span class="form-required">*</span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">经度</label>
					<div class="controls">
						<input type="text" id="lng" name="lng" readonly value="{$model.lng}"><span class="form-required">*</span>
					</div>
				</div>
				
				<div class="control-group">
					<label class="control-label">纬度</label>
					<div class="controls">
						<input type="text" id="lat" name="lat" readonly value="{$model.lat}"><span class="form-required">*</span>
					</div>
				</div>
			</fieldset>
			<div class="form-actions">
				<button type="submit" class="btn btn-primary js-ajax-submit">{:L('ADD')}</button>
				<a class="btn" href="{:U('nav/index')}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>

</body>
</html>